#include <iostream>
#include <string>

using namespace std;

int main()
{
    string str;
    str = "apple";
    cout<<str.length();

    return 0;
}
